package db;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractCustomer entity provides the base persistence definition of the
 * Customer entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCustomer implements java.io.Serializable {

	// Fields

	private Integer custId;
	private String custFullname;
	private String custInit;
	private Integer custSsn;
	private String custAddress;
	private Integer custTelNo;
	private Set realEstates = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractCustomer() {
	}

	/** minimal constructor */
	public AbstractCustomer(String custFullname, String custInit,
			Integer custSsn, String custAddress) {
		this.custFullname = custFullname;
		this.custInit = custInit;
		this.custSsn = custSsn;
		this.custAddress = custAddress;
	}

	/** full constructor */
	public AbstractCustomer(String custFullname, String custInit,
			Integer custSsn, String custAddress, Integer custTelNo,
			Set realEstates) {
		this.custFullname = custFullname;
		this.custInit = custInit;
		this.custSsn = custSsn;
		this.custAddress = custAddress;
		this.custTelNo = custTelNo;
		this.realEstates = realEstates;
	}

	// Property accessors

	public Integer getCustId() {
		return this.custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public String getCustFullname() {
		return this.custFullname;
	}

	public void setCustFullname(String custFullname) {
		this.custFullname = custFullname;
	}

	public String getCustInit() {
		return this.custInit;
	}

	public void setCustInit(String custInit) {
		this.custInit = custInit;
	}

	public Integer getCustSsn() {
		return this.custSsn;
	}

	public void setCustSsn(Integer custSsn) {
		this.custSsn = custSsn;
	}

	public String getCustAddress() {
		return this.custAddress;
	}

	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}

	public Integer getCustTelNo() {
		return this.custTelNo;
	}

	public void setCustTelNo(Integer custTelNo) {
		this.custTelNo = custTelNo;
	}

	public Set getRealEstates() {
		return this.realEstates;
	}

	public void setRealEstates(Set realEstates) {
		this.realEstates = realEstates;
	}

}